using System;
using ns27;
using Triton.Game.Mono;

namespace Triton.Game.Mapping
{
	[Attribute38("UIEvent")]
	public class UIEvent : MonoClass
	{
		public UIEventType m_eventType => method_2<UIEventType>("m_eventType");

		public PegUIElement m_element => method_3<PegUIElement>("m_element");

		public UIEvent(IntPtr address, string className)
			: base(address, className)
		{
		}

		public UIEvent(IntPtr address)
			: this(address, "UIEvent")
		{
		}

		public UIEventType GetEventType()
		{
			return method_11<UIEventType>("GetEventType", Array.Empty<object>());
		}

		public PegUIElement GetElement()
		{
			return method_14<PegUIElement>("GetElement", Array.Empty<object>());
		}
	}
}
